public enum ArrayGenerator {
    INSTANCE;
    public Integer[] generatorOrderedArray(Integer n) {
        Integer[] arr = new Integer[n];
        for (int i = 0; i < arr.length; i++) {
            arr[i] = i;
        }
        return arr;
    }

}
